Skip to content

Fix Tauri frontendDist path breaking desktop CI - #18

Merged
Modsofthenation merged 2 commits into
mainfrom
cursor/fix-tauri-frontend-dist-e5b1
Jul 25, 2026
Merged

Modsofthenation merged 2 commits into
mainfrom
cursor/fix-tauri-frontend-dist-e5b1

Conversation

@Modsofthenation

Copy link
Copy Markdown
Owner

Fix

Desktop CI failed on all platforms after prepare:build succeeded:

Unable to find your web assets… frontendDist is set to "../ui/dist"
→ apps/desktop/src-tauri/../ui/dist  (= apps/desktop/ui/dist)

The Vite app actually builds to apps/ui/dist.

Changes

  • Set frontendDist to ../../ui/dist
  • Harden Windows prepare:build spawn + assert apps/ui/dist/index.html exists before Tauri continues

This unblocks Windows / macOS / Linux desktop jobs on merges to main.

Open in Web Open in Cursor 

cursoragent and others added 2 commits July 25, 2026 11:38
frontendDist was ../ui/dist (apps/desktop/ui/dist) but the Vite app
builds to apps/ui/dist. Point it at ../../ui/dist and assert the
bundle exists after prepare:build.

Co-authored-by: Damon  <[email protected]>
@Modsofthenation
Modsofthenation marked this pull request as ready for review July 25, 2026 11:38
@Modsofthenation
Modsofthenation merged commit f4c92cb into main Jul 25, 2026
2 of 4 checks passed
@cursor
cursor Bot deleted the cursor/fix-tauri-frontend-dist-e5b1 branch August 12, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants